using Moq;
using NUnit.Framework;

namespace Kiwi.Container.Tests
{
    public class MoqTestBase
    {
        protected MockFactory MockFactory { get; private set; }

        [SetUp]
        public virtual void SetUp()
        {
            MockFactory = new MockFactory(MockBehavior.Strict);
        }

        [TearDown]
        public void TearDown()
        {
            MockFactory.VerifyAll();
        }
    }
}